import React, { Component } from 'react'
import NavBar from './NavBar'

export class App extends Component {
  render () {
    return (
      <div className="app">
        {/* 使用children */}
        <NavBar >
          <button>按钮</button>
          <p>标题</p>
          <i>图表</i>
        </NavBar>

      </div>
    )
  }
}

export default App